package cn.itsource.article.mapper;


import cn.itsource.article.domain.ArticleType;
import cn.itsource.article.query.ArticleTypeQuery;

import java.util.List;

/**
* @author huawei
* @description 针对表【tb_article_type(文章类型表)】的数据库操作Mapper
* @createDate 2024-06-04 15:37:29
* @Entity cn.itsource.domain.ArticleType
*/
public interface ArticleTypeMapper {


    void insert(ArticleType a);




    int updateByPrimaryKeySelective(ArticleType a);


    List<ArticleType> getAll(ArticleTypeQuery articleTypeQuery);

    void deleteAll(List<ArticleType> a);

    void delete(Long id);


    /**
     * 查询文章类型
     * @return
     */
    List<ArticleType> selectAll();

    List<ArticleType> drawPieChart();
}
